package net.sky.oa.dao.system.impl;

import java.util.List;

import org.springframework.stereotype.Repository;

import net.sky.oa.dao.SkyBaseDaoImpl;
import net.sky.oa.dao.system.SysLogingDao;
import net.sky.oa.model.SysLoging;

@SuppressWarnings("unchecked")
@Repository
public class SysLogingDaoImpl extends SkyBaseDaoImpl<SysLoging> implements SysLogingDao {
	public SysLogingDaoImpl() {
		super.setPersistType(SysLoging.class);
	}

	public List<SysLoging> findAllLoging() {
		String hql = "from SysLoging s";
		return findByHql(hql);
	}
}